package com.kaifamiao.mapper;

import com.kaifamiao.entity.Customer;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CustomerMapper {

    Customer find(Integer id );

    List<Customer> findAll();

    int persist( Customer c );

    int update( Customer c );

    int remove( Integer id );

}
